package com.zimmur.service.impl.goods;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zimmur.dao.goods.IGoodsImageDao;
import com.zimmur.model.goods.GoodsImage;
import com.zimmur.service.goods.IGoodsImageService;

@Service("goodsImageService")
public class GoodsImageServiceImpl implements IGoodsImageService {
	@Resource
	private IGoodsImageDao goodsImageDao;
	
	@Override
	public List<GoodsImage> selectByGoodsId(long goodsId) {
		return goodsImageDao.selectListByGoodsId(goodsId);
	}

}
